package Server.Game.Questions;

import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Random;


public class QuestionList {
	private List<Question> questionList = new ArrayList<Question>();

	public List<Question> getQuestionList() {
		return questionList;
	}


	public Question getRandomQuestion(){
		Question q;
		Random rnd = new Random();
		q=questionList.get(rnd.nextInt(questionList.size()) + 0);
		questionList.remove(q);
		return q;
	}


}
